export const column = [
    {
        title: "藏馆名称",
        field: "library_name",
    },
    {
        title: "管理员",
        field: "library_admin",
        format: ({ cellValue }) => {
            return cellValue && cellValue.length ? cellValue.join('，') : cellValue
        }
    },
    {   
        title: "层数",
        field: "library_floor",
    },
    {   
        title: "文献类型",
        field: "literature_name",
        format: ({ cellValue }) => {
            return cellValue && cellValue.length ? cellValue.join('、') : cellValue
        }
    },
    {   
        title: "状态",
        type: "slot",
        slotName: "status",
        field: "literature_count",
    },
    {   
        title: "读者数量",
        field: "literature_count",
    },
    {   
        title: "地址",
        field: "literature_count",
        format: ({ row }) => {
            return `${row.province}${row.city}${row.area}${row.address}`
        }
    },
    {
        type: "operation",
        width: '350px'
    }
]